//
//  SearchViewController.h
//  ScrollView
//
//  Created by antl on 1/4/13.
//  Copyright (c) 2013 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "ParentViewController.h"
#import "ASIHTTPRequest.h"
#import "IPLibTabBar.h"
#import "TotalConfig.h"
#import "StoreViewController.h"
#import "GADBannerViewDelegate.h"
@class GADBannerView, GADRequest;
@interface SearchViewController : ParentViewController<UIActionSheetDelegate,UIWebViewDelegate,UIScrollViewDelegate,UITextFieldDelegate,UIPickerViewDataSource, UIPickerViewDelegate,UITabBarDelegate,UIAlertViewDelegate,GADBannerViewDelegate>
{
    IBOutlet    UIScrollView    *mscrollview; 
                NSMutableArray  *arrayTag;
                UILabel         *Title;
                UILabel         *titleSearch;
                UITextField     *inputDomain;
                UILabel         *titleTag;
                UITextField     *ChoiceTag;
                UIButton        *Search;
                UIButton        *Saving;
                UIButton        *smallButton;
                UIActivityIndicatorView *activity;
                UIPickerView    *pickerView;
                BOOL            isEnablePickerView;
                IPLibTabBar     *ipTabBar;
                UIActionSheet   *m_Sheet;    
                StoreViewController * storeController;
    
    GADBannerView *adBanner_;
    
}
@property(nonatomic, retain)  IPLibTabBar     *ipTabBar;
@property(nonatomic, retain)IBOutlet UIScrollView *mscrollview;
@property (nonatomic, retain) GADBannerView *adBanner;

-   (GADRequest *)createRequest;
-   (void)  changeTheViewToPortrait:(BOOL)portrait andDuration:(NSTimeInterval)duration;
-   (void)  initData;
-   (void)  addLable;
-   (void)  setLableLanguageForSearchScene;
-   (void)  setpositionLableLandScape:(BOOL)isLandScape;
-   (void)  addRequestbyString:(NSString*)str type:(NSString*)Type;
-   (void)  addTabBar;
-   (void)repositionTabBar:(UIInterfaceOrientation)o ;
-   (void)jumpToPage:(int)iN;
-   (void)addActionSheetwithAnimation:(BOOL)bValue;
+   (SearchViewController*)getSearchViewControllerInstance;
-   (NSString *)convertMyString;
-   (void)positionLanguage;
-   (void)tabbarPosition:(BOOL)landscape;
-   (void)addBanner;
-   (void)setPositionBanner:(BOOL)isLandScape;
-   (void)addTabBarToView;
-   (void)removeTabbarToView;
@end
